<%--
  Created by IntelliJ IDEA.
  User: wwy
  Date: 2025/3/5
  Time: 10:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" import="java.util.*"
         isELIgnored="false" %>
<%@ taglib prefix="rapid" uri="http://www.rapid-framework.org.cn/rapid" %>

<rapid:override name="title">考勤管理</rapid:override>

<rapid:override name="head_extend">
  <link href="/static/admin_v1/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
</rapid:override>

<rapid:override name="content">
  <div class="row">
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>考勤管理</h5>
          <div class="ibox-tools">
            <a class="collapse-link">
              <i class="fa fa-chevron-up"></i>
            </a>
            <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
              <i class="fa fa-wrench"></i>
            </a>
            <ul class="dropdown-menu dropdown-user">
              <li><a href="table_basic.html#">选项1</a>
              </li>
              <li><a href="table_basic.html#">选项2</a>
              </li>
            </ul>
            <a class="close-link">
              <i class="fa fa-times"></i>
            </a>
          </div>
        </div>
        <div class="ibox-content">
          <div class="row">
            <div class="col-sm-3">
              <div class="input-group">
                <input type="text" placeholder="请输入关键词" class="input-sm form-control"> <span class="input-group-btn">
                                        <button type="button" class="btn btn-sm btn-primary"> 搜索</button> </span>
              </div>
            </div>
          </div>
          <div class="table-responsive">
            <table class="table table-striped">
              <thead>
              <tr>

                <th><input type="checkbox"></th>
                <th>员工姓名</th>
                <th>请假时间</th>
                <th>销假时间</th>
                <th>请假原因</th>
                <th>审批状态</th>
                <th>操作</th>
              </tr>
              </thead>
              <tbody>
              <tr>
                <td>
                  <input type="checkbox">
                </td>
                <td>丁超群</td>
                <td>8:50</td>
                <td>18:00</td>
                <td>窜稀</td>
                <td>未通过</td>
                <td><button class="btn btn-primary " type="button"><i class="fa fa-check"></i>&nbsp;通过</button>
                  <button class="btn btn-danger radius-rounded"><i class="fa fa-times"></i>驳回</button>
                </td>
              </tr>
              </tbody>
            </table>
          </div>


        </div>
      </div>
    </div>

  </div>
</rapid:override>

<rapid:override name="js_extend">
  <!-- Bootstrap table -->
  <script src="/static/admin_v1/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
  <script src="/static/admin_v1/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
  <script src="/static/admin_v1/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  <script src="/static/admin_v1/js/bootstrap-paginator.js"></script>

  <!-- Peity -->
  <script src="/static/admin_v1/js/demo/bootstrap-table-demo.js"></script>
  <script>
    $(function () {
      $('#pagination').bootstrapPaginator({
        bootstrapMajorVersion: 3,
        currentPage: ${requestScope.pageInfo.pageNum },
        totalPages: ${requestScope.pageInfo.pages },
        pageUrl: function (type, page, current) {
          return '/admin/user/get.do?pageNum=' + page;
        },
        itemTexts: function (type, page, current) {
          switch (type) {
            case "first":
              return "首页";
            case "prev":
              return "上一页";
            case "next":
              return "下一页";
            case "last":
              return "末页";
            case "page":
              return page;
          }
        }
      });
    });
  </script>
</rapid:override>

<%@include file="/jsp/common/admin/base.jsp" %>
